/*
 * FacturacionSource.java
 *
 * Created on 27 de octubre de 2006, 11:14 AM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.vozcliente.source;

import java.util.ResourceBundle;

/**
 *
 * @author jlperea
 */
public class VozClienteSource 
{
    protected static VozClienteSource vozClienteSource;
    
    private static ResourceBundle vozClienteSetup;
    private static ResourceBundle vozClienteErrorSetup;    
    
    /** Creates a new instance of PathImage */
    protected VozClienteSource() {        
        vozClienteSetup = ResourceBundle.getBundle("VozClienteSetup");
        vozClienteErrorSetup = ResourceBundle.getBundle("VozClienteErrorSetup");        
    }

    public static VozClienteSource getInstance() {
        if (vozClienteSource == null) {
            vozClienteSource = new VozClienteSource();
        }
        return vozClienteSource;
    }

    public String getVozClienteSetupKey(String key) {
        return vozClienteSetup.getString(key); 
    }
   
    public String getVozClienteErrorSetupKey(String key) {
        return vozClienteErrorSetup.getString(key); 
    }    
}
